package mleiria.pt.math;

import java.util.Scanner;

/**
 * @author manuel
 *
 */
public class MathUtils {
		
	public static void readInputScanner(Scanner scanner, int result){
        String input = scanner.nextLine();
        System.out.println("User Input from console: " + input);
        System.out.println("Reading int from console in Java: ");
        int number = scanner.nextInt();
        System.out.println("Integer input: " + number);


	}
	
	public static void main(String[] args){
		/*
		Tabuada[] um = TabuadaGenerator.tabuadas.get("7");
		for(Tabuada tab : um){
			System.out.println(tab.toString());
		}
		*/
		for (int i = 0; i < 10; i++){
			Tabuada tabuada = TabuadaGenerator.getRandomOperacao(TabuadaGenerator.getRandomTabuada());
			System.out.println(tabuada.toString());
		}
	}
}
